package com.vesus.springcloudfegin.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "spring-cloud-service")
//springcloud-service中定义的服务的名字
public interface HelloService {

    @RequestMapping(value = "/hello") //springcloud-service中定义的服务方法
    public String sayHello() ;
}
